//
//  GRBuyRuleCell.m
//  YC_GRice
//
//  Created by luojinrong11 on 2018/8/27.
//  Copyright © 2018年 YeCai. All rights reserved.
//

#import "GRBuyRuleCell.h"

@implementation GRBuyRuleCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code

}

+(CGFloat)getHeightWiht:(NSString *)content{
    return [content boundingRectWithSize:CGSizeMake(KscreenWidth-60, CGFLOAT_MAX) options:NSStringDrawingUsesLineFragmentOrigin|NSStringDrawingUsesFontLeading attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:14]} context:nil].size.height+5;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
